package org.example.day07;

import java.util.HashSet;

public class TestSet {
    public static void main(String[] args) {
        HashSet<Student> sets = new HashSet<>();
        Student student = new Student();
        sets.add(student);
        //
        sets.forEach((i) ->{
            System.out.println(i.getId());
        });
    }
}
